/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package figuras;

/**
 *
 * @author 66785338
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        Rectangulo rectangulo=new Rectangulo();
        rectangulo.setAltura(3);
        rectangulo.setBase(2); 
        double area = rectangulo.area();
        System.out.println("El area del rectangulo es: "+area);
   
        Circulo circulo=new Circulo();
        circulo.setRadio(2);
        area = circulo.area();
        System.out.println("El area del rectangulo es: "+area);
        
    }
}
